﻿using System.ComponentModel;

namespace Datav.Design.Common
{
    /// <summary>
    ///
    /// </summary>
    public enum KnowledgeCreateType
    {
        /// <summary>
        /// 个人知识点
        /// </summary>
        Person = 4,

        /// <summary>
        /// 知识仓知识点
        /// </summary>
        Warehouse = 5,

        /// <summary>
        /// 课程知识点
        /// </summary>
        Course = 6,
    }

    /// 类别 1  2 业务场景 3 核算场景  4知识点  5文档  6视频
    public enum CoursePrepareStatisticsGroups
    {
        业务流程 = 1,
        业务场景 = 2,
        核算场景 = 3,
        知识点 = 4,
        文档 = 5,
        视频 = 6,
        任务 = 7,
        测验 = 8,
        讨论 = 9,
        题目 = 10,
    }

    /// <summary>
    ///
    /// </summary>
    public enum GroupType
    {
        默认 = 0,
        知识 = 1,
        场景 = 2,
    }

    /// <summary>
    /// 内容类型
    /// </summary>
    public enum CoursePrepareType
    {
        /// <summary>
        /// 流程图
        /// </summary>
        Lct = 1,

        /// <summary>
        /// 业务场景
        /// </summary>
        Ywcj = 2,

        /// <summary>
        /// 核算场景
        /// </summary>
        Hscj = 3,

        /// <summary>
        /// 个人知识点
        /// </summary>
        KnowledgePersonal = 4,

        /// <summary>
        /// 知识仓知识点
        /// </summary>
        Knowledge = 5,

        ///// <summary>
        ///// 票据池
        ///// </summary>
        //Pjc = 6,
        /// <summary>
        /// 公共素材
        /// </summary>
        Resource = 6,

        /// <summary>
        /// 个人素材
        /// </summary>
        ResourcePersonal = 7,

        /// <summary>
        /// 附件
        /// </summary>
        Attachment = 8,

        /// <summary>
        /// 课件
        /// </summary>
        Kj = 9,

        /// <summary>
        /// 富文本
        /// </summary>
        FullText = 10,

        /// <summary>
        /// 任务
        /// </summary>
        Task = 11,

        /// <summary>
        /// 主题讨论
        /// </summary>
        Discuss = 12,

        代码块 = 13,
        问卷 = 14,
        题目 = 15,
    }

    /// <summary>
    /// 题目状态
    /// </summary>
    public enum QEnum
    {
        [Description("未发布")]
        NotStart,

        [Description("已发布")]
        Started,
    }

    /// <summary>
    /// 题目：计分规则
    /// </summary>
    public enum ScoringType
    {
        /// <summary>
        /// 默认：半对扣分，错一个不得分，没有错误，对一个得一个的分数,全对得满分（多选题）
        /// </summary>
        默认 = 0,

        /// <summary>
        /// 平均计分，题目设置一个分数，有N空计分项， 错一空扣分，直到倒扣到0分为止（表格对象按行比对，整行全对记答对）（多用于表单填写）
        /// </summary>
        平均计分 = 2,

        /// <summary>
        /// 自由计算，题目每个计分项单独设置分数，计分项正确得对应分数；其中表格对象设置一个分数， 错一空扣分，直到倒扣到0分为止（多用于表单填写）
        /// </summary>
        自由计分 = 3,

        /// <summary>
        /// 错一空不得分，全对得分满分(分录题)
        /// </summary>
        全对得分 = 4,

        /// <summary>
        /// 按行计分 表格题
        /// </summary>
        按行计分 = 5,

        /// <summary>
        /// 按列计分 表格题
        /// </summary>
        按列计分 = 6,
    }

    /// <summary>
    /// 题目 答案的数据来源，
    /// </summary>
    public enum QuestionDataType
    {
        /// <summary>
        /// 默认数据类型，题目默认的数据类型，为表单对象
        /// </summary>
        表单题 = 0,

        知识题 = 1,
        审批题 = 2,
        盖章 = 3,
        依据 = 4,
        流程题 = 5,
        富文本题 = 6,
        单元格引用题 = 7,
    }

    /// <summary>
    /// 任务类型
    /// </summary>
    public enum TaskCategory
    {
        普通竞赛任务 = 0,
        作业 = 2,
        考试 = 3,
        课堂测验 = 5,
        决赛任务 = 10,
    }

    /// <summary>
    /// 难易度枚举值
    /// </summary>
    public enum Difficulty
    {
        /// <summary>
        /// 易1.0
        /// </summary>
        易 = 0,

        /// <summary>
        /// 偏易0.9
        /// </summary>
        偏易1 = 1,

        /// <summary>
        /// 偏易0.8
        /// </summary>
        偏易2 = 2,

        /// <summary>
        /// 适中0.7
        /// </summary>
        适中1 = 3,

        /// <summary>
        /// 适中0.6
        /// </summary>
        适中2 = 4,

        /// <summary>
        /// 适中0.5
        /// </summary>
        适中3 = 5,

        /// <summary>
        /// 偏难0.4
        /// </summary>
        偏难1 = 6,

        /// <summary>
        /// 偏难0.3
        /// </summary>
        偏难2 = 7,

        /// <summary>
        /// 偏难0.2
        /// </summary>
        偏难3 = 8,

        /// <summary>
        /// 难0.1
        /// </summary>
        难 = 9
    }

    /// <summary>
    /// 题目类型
    /// </summary>
    public enum QuestionType
    {
        /// <summary>
        /// 单选
        /// </summary>
        Single = 1,

        /// <summary>
        /// 多选
        /// </summary>
        Multiple = 2,

        /// <summary>
        /// 填空
        /// </summary>
        FillIn = 3,

        /// <summary>
        /// 数据列表 （葡萄城模板 表单题）
        /// </summary>
        Table = 4,

        /// <summary>
        /// 表格题
        /// </summary>
        FillGrid = 5,

        /// <summary>
        /// 富文本题
        /// </summary>
        RichText = 6,

        ///// <summary>
        ///// 综合分录题
        ///// </summary>
        //ComprehensiveAccountEntry = 7,

        /// <summary>
        /// 判断题
        /// </summary>
        Judge = 8,

        ///// <summary>
        ///// 发票题
        ///// </summary>
        //Teticket = 11,

        ///// <summary>
        ///// 票据审核
        ///// </summary>
        //AuditTeticket = 15,

        /// <summary>
        /// 分录题
        /// </summary>
        AccountEntry = 16,

        ///// <summary>
        ///// 银行票据
        ///// </summary>
        //BankTeticket = 17,

        /// <summary>
        /// 富文本Python题
        /// </summary>
        Python = 18,

        ///// <summary>
        ///// 富文本MySQl题
        ///// </summary>
        //MySQl = 19,

        ///// <summary>
        ///// 流程题
        ///// </summary>
        //Process = 20,

        /// <summary>
        /// 资产负债
        /// </summary>
        Balance = 21,

        /// <summary>
        /// 利润表
        /// </summary>
        Profit = 22,

        /// <summary>
        /// 结转损益收入类
        /// </summary>
        Income = 23,

        /// <summary>
        /// 结转损益费用类
        /// </summary>
        IncomeFees = 25,

        ///// <summary>
        ///// 纳税申报
        ///// </summary>
        //Ratepaying = 24,

        ///// <summary>
        ///// 税务预警题
        ///// </summary>
        //TaxWarning = 30,

        ///// <summary>
        ///// 财务分析题
        ///// </summary>
        //FinancialAnalysis = 31,

        ///// <summary>
        ///// 大数据审计
        ///// </summary>
        //BigDataAudit = 32,

        ///// <summary>
        ///// 综合题-商旅费控(费用控制)
        ///// </summary>
        //ComprehensiveExpenseControl = 33,

        ///// <summary>
        ///// 出差
        ///// </summary>
        //Evection = 34,

        ///// <summary>
        ///// 借支
        ///// </summary>
        //Debit = 35,

        ///// <summary>
        ///// 报销
        ///// </summary>
        //Reimbursement = 36,

        ///// <summary>
        ///// 预订
        ///// </summary>
        //Reserve = 37,

        ///// <summary>
        ///// 设置标准
        ///// </summary>
        //Standard = 38,

        //知识点 = 39,
        //素材 = 40,

        /// <summary>
        /// 动态表单题
        /// </summary>
        DFS = 41,

        /// <summary>
        ///
        /// </summary>
        核算 = 42,

        /// <summary>
        ///
        /// </summary>
        T字账 = 43,

        /// <summary>
        ///
        /// </summary>
        现金流量表 = 44,

        /// <summary>
        ///
        /// </summary>
        所有者权益变动表 = 45,

        编程题 = 46,

        简答题 = 47,

        代码块 = 48,

        /// <summary>
        /// 自定义分录题
        /// </summary>
        自定义分录题 = 49,

        /// <summary>
        /// 审核题
        /// </summary>
        Audit = 100,
    }

    /// <summary>
    /// 选题类型
    /// </summary>
    public enum SelectType
    {
        章节选题 = 1,
        场景选题 = 2,
        核算选题 = 3,
        知识点选题 = 4,
        题库选题 = 5,
    }

    /// <summary>
    /// 操作类型
    /// </summary>
    public enum DBActionType
    {
        /// <summary>
        /// 通用的操作/不确定的操作
        /// </summary>
        Common = -1,

        /// <summary>
        /// 插入操作
        /// </summary>
        Insert,

        /// <summary>
        /// 更新操作
        /// </summary>
        Update,

        /// <summary>
        /// 删除操作
        /// </summary>
        Delete,

        /// <summary>
        /// 复制操作
        /// </summary>
        Copy,

        /// <summary>
        /// 还原操作
        /// </summary>
        Restore = 99
    }
}